package com.oneguy.client;

public interface TcpConnectionListener {
    public void onConnect(TcpConnection connection);

    public void onDisconnect(TcpConnection connection);

    public void onException(TcpConnection connection, Exception e);

    public void onReceive(TcpConnection connection, byte[] data);

    public void onSend(TcpConnection connection, byte[] data);
}
